home *** CD-ROM | disk | FTP | other *** search
Wrap
SayText 1.1 by Frédéric RINALDI DESCRIPTION SayText XCMD allows to use voice sythesis of Macintalk II to make the Mac loudly read text. It requires the new Speech Mgr installed. SYNTAX SayText <text>[,<voice nb>[,<rate>[,<pitch>]]] PARAMETERS <text> is the text to say. <voice nb> is the voice number to use. See joined VoicesList XFCN to get a list of installed voices. Default is MacinTalk II default voice. <rate> is an integer (1-100) defining the voice rate. Higher value gives faster speech. <pitch> is an integer (1-1000) defining the voice pitch. Higher value gives more treeble speech. Using "!", "?" and "=" as first parameter will return an online help (resp. copyright, syntax and output). USING Speech interruption is allowed by pressing Esc or Cmd-. keys while the speech proceeds. Script execution waits until speech is done. ERRORS If an error occurs, SayText can return : "Error : OS error #XX" "Error : Speech Mgr must be installed" "Error : Bad voice number" "Error : Bad rate value" "Error : Bad pitch value" "Error : Voice not found" HISTORY 1.1 07/14/93 • Added mouth cursor while speaking • Enhanced interruption test 1.0 07/12/93 • First public release VoicesList 1.0 DESCRIPTION VoicesList returns the list of available voices. SYNTAX VoicesList() PARAMETERS No param required. Using "!", "?" and "=" as first parameter will return an online help (resp. copyright, syntax and output). USING The XFCN returns a lines list of available voices, each line being: <name>,<comment>,<gender>,<age> Simply use the line number as voice number for SayText. ERRORS If an error occurs, VoicesList can return : "Error : Speech Mgr must be installed" HISTORY 1.0 07/14/93 • First public release -------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present : SayText XCMD & VoicesList XFCN © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111 Internet : RINALDI1@APPLELINK.APPLE.COM